<%--
  Created by IntelliJ IDEA.
  User: WuLiangHang
  Date: 2021/4/13
  Time: 14:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%
        String path = request.getContextPath();
        String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    %>
    <base href="<%=basePath%>">
    <title>Title</title>
</head>
<body>
<form action="user/register" method="post" name="registForm">
    <table border="1">
        <tr>
            <td>姓名:</td>
            <td><input type="text" name="uname" value="${uname}"/></td>
        </tr>
        <tr>
            <td>密码:</td>
            <td><input type="password" name="upass"/></td>
        </tr>
        <tr>
            <td>确认密码:</td>
            <td><input type="password" name="reupass"/></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input type="submit" value="注册"/></td>
        </tr>
    </table>
</form>
${user.uname}
</body>
</html>
